import upload from '@/utils/upload'
import request from '@/utils/request'

// 用户密码重置
export function updateUserPwd(oldPassword, newPassword, deviceId, newPasswordAgain) {
	const data = {
		oldPassword,
		newPassword,
		deviceId,
		newPasswordAgain
	}
	return request({
		url: '/member/changePwd',
		method: 'put',
		params: data
	})
}